package namingService;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "AMI_ServerHandler".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 6-mar-2009 18.45.05
 */

public class AMI_ServerHandlerPOATie
	extends AMI_ServerHandlerPOA
{
	private AMI_ServerHandlerOperations _delegate;

	private POA _poa;
	public AMI_ServerHandlerPOATie(AMI_ServerHandlerOperations delegate)
	{
		_delegate = delegate;
	}
	public AMI_ServerHandlerPOATie(AMI_ServerHandlerOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public namingService.AMI_ServerHandler _this()
	{
		return namingService.AMI_ServerHandlerHelper.narrow(_this_object());
	}
	public namingService.AMI_ServerHandler _this(org.omg.CORBA.ORB orb)
	{
		return namingService.AMI_ServerHandlerHelper.narrow(_this_object(orb));
	}
	public AMI_ServerHandlerOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(AMI_ServerHandlerOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void searchEntity_excep(org.omg.Messaging.ExceptionHolder excep_holder)
	{
_delegate.searchEntity_excep(excep_holder);
	}

	public void searchEntity()
	{
_delegate.searchEntity();
	}

	public void insertEntity()
	{
_delegate.insertEntity();
	}

	public void insertEntity_excep(org.omg.Messaging.ExceptionHolder excep_holder)
	{
_delegate.insertEntity_excep(excep_holder);
	}

	public void removeEntity()
	{
_delegate.removeEntity();
	}

	public void removeEntity_excep(org.omg.Messaging.ExceptionHolder excep_holder)
	{
_delegate.removeEntity_excep(excep_holder);
	}

}
